package com.xca.znb.model.imodel;

import com.xca.znb.entity.Goods;
import com.xca.znb.entity.Local;
import com.xca.znb.entity.NewsLetter;
import com.xca.znb.entity.Order;
import com.xca.znb.entity.User;

public interface IOrderMessage {
    Local getLocalById(int id) ;
    User getUserByPhone(String phone);
    Goods getGoodsById(int id) ;
    Order getOrderById(int id);
    void addNewsletter(String phone1 , String phone2 , String time);
    NewsLetter getNewsLetterByPhone(String phone1 , String phone2);
    void updateOrderType(int id , String type , String time) ;

    void insertAccount(String phone , double num , String type , String time_day , String time_sec);
}
